main {
    font-family: 'PT Serif', serif;

}

.upper-main {
    margin: 0 10% 5% 10%;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    text-align: justify;
}

.upper-main>h1 {
    font-size: 60px;
    margin-bottom: 0;
    padding-bottom: 0;
}

.upper-main>h2 {
    margin-bottom: 60px;
}

.content {
    --bs-gutter-x: 0rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x)/-2);
    margin-left: calc(var(--bs-gutter-x)/-2);
}

.quote {
    height: 50px;
    clip-path: ellipse(50% 50% at 50% 50%);
    background: radial-gradient(circle, rgba(10, 100, 211, 0.877) 37%, rgba(36, 234, 234, 0.152) 100%);

}

.quote>p {
    color: white;
    position: relative;
    top: 20%;
    font-family: 'Josefin Sans', sans-serif;
    text-align: center;
}

#profile {
    padding: 0;
    margin: 0x;
    box-sizing: border-box;
}

.profile-card {
    font-family: "Open Sans", sans-serif;
    background: #f3f2f2;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;

}

.card-wrapper {
    position: relative;
}

#first {
    left: -30%;
}

#second {
    left: 0%;
}

#third {
    left: 30%;
}

.card {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: 0.5s;
}

.card .card-image {
    position: absolute;
    top: 0px;
    left: -0px;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgb(114, 110, 110);
background: linear-gradient(0deg, rgba(170, 164, 164, 0.987) 0%, rgb(214, 246, 246) 100%);
    transition: 0.5s;
}

.card:hover img {
    opacity: 0.4;
    transition: 0.5s;
}

.card:hover .card-image {
    transform: translateY(-100px);
    transition: all 0.9s;
}

.social-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
}

.social-icons li {
    list-style: none;
}

.social-icons li a {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: #fff;
    font-size: 23px;
    color: #333;
    font-weight: bold;
    margin: 0 6px;
    transition: 0.4s;
    transform: translateY(200px);
    opacity: 0;
}

.card:hover .social-icons li a {
    transform: translateY(0px);
    opacity: 1;
}

.social-icons li a:hover {
    background: #000;
    transition: 0.2s;
}

.social-icons li a:hover .fab {
    color: #fff;
}

.social-icons li a .fab {
    transition: 0.8s;
}

.social-icons li a .fab:hover {
    transform: rotateY(360deg);
    color: #fff;
}

.card:hover li:nth-child(1) a {
    transition-delay: 0.1s;
}

.card:hover li:nth-child(2) a {
    transition-delay: 0.2s;
}

.card:hover li:nth-child(3) a {
    transition-delay: 0.3s;
}

.card:hover li:nth-child(4) a {
    transition-delay: 0.4s;
}

.details {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #fff;
    width: 100%;
    height: 120px;
    z-index: 1;
    padding: 10px;
}

.details h2 {
    margin: 30px 0px;
    padding: 0;
    text-align: center;
}

.details h2 .job-title {
    font-size: 1rem;
    line-height: 2.5rem;
    color: #333;
    font-weight: 500;
}

@media (max-width:767px) {
    .card-wrapper {
        width: 90%;
    }
}